package tests.multip.test2;

public class Test2 {
	public static void main(String[] args) {
		C c;
		c=new A();
		c.show();
		A a=new A();
		a.showOfA(a);
		a.showOfA(c);
	}
}
class C{
	void show(){
		System.out.println(":c");
	}
}
class B extends C {
	 void show(){
		System.out.println("::b");
	}

}
class A extends B {
	void show(){
		System.out.println("___a");
	}
	void showOfA(C c){
		c.show();
	}
}
